// pages/UserAgreementPol/UserAgreementPol.js
var core = require("../../utils/core.js");
var WxParse = require('../../libs/wxParse/wxParse.js');
Page({

  /**
   * 页面的初始数据
   */
  data: {
    data: {
      "id": 1,
      "uniacid": 3,
      "captain": "<img src='https: //shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-04/5c2ec9247005b.jpg' alt='undefined'>",
      "supplier": "<img src='https: //shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-04/5c2ec9359de6c.jpg' alt='undefined'>",
      "privacy": "<p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c33313956212.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331409e6e0.jpg' alt='undefined'></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c33315292b19.jpg' alt='undefined'></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331671c728.jpg' alt='undefined'></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c333193cdd72.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c33319b91b18.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331a1952f6.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331a8b14e8.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331ae922a2.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331b465f91.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331ba55db7.jpg' alt='undefined'><br></p><p><img src='https://shop-sqpt.eshezhong.com/attachment/upload/3/picture/2019-01-07/5c3331c08a88a.jpg' alt='undefined'><br></p>"
    },
    detiel:''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function(options) {
    var that = this;
    var data = this.data.data;
    if (WxParse.wxParse('article', 'html', data.privacy, that, 5)) {
      that.setData({

        detiel: WxParse.wxParse('article', 'html', data.content, that, 5)

      })
    }
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function() {

  }
})